CERNAlarmSystemInterfaceProxy
index
/diska/alma_tmp/ACS/LGPL/CommonSoftware/ACSLaser/laser-source-python/src/CERNAlarmSystemInterfaceProxy/__init__.py

#*******************************************************************************
# ALMA - Atacama Large Millimiter Array
# (c) National Research Council of Canada, 2008 

# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.

# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
#
# "@(#) $Id$"
#
# who       when      what
# --------  --------  ----------------------------------------------
# agrimstrup  2008-09-29  created
#

 
Package Contents
       
AlarmPublisher

 
Classes
       
Acsalarmpy.AlarmSystemInterface.AlarmSystemInterface(__builtin__.object)
CERNAlarmSystemInterfaceProxy

 
class CERNAlarmSystemInterfaceProxy(Acsalarmpy.AlarmSystemInterface.AlarmSystemInterface)
    Implementation of an alarm source that sends messages to the LASER alarm server.
 
 
Method resolution order:
CERNAlarmSystemInterfaceProxy
Acsalarmpy.AlarmSystemInterface.AlarmSystemInterface
__builtin__.object

Methods defined here:
__init__(self, sourceName=None)
Constructor.
 
Params:
- sourceName is the name of the alarm source
 
Returns: Nothing
 
Raises:  Nothing
close(self)
Shutdown this alarm source
 
Params:  None
 
Returns:  Nothing
 
Raises:  Nothing
publishMessage(self, msg)
Send an alarm to the system.
 
Params:
- mag is the ASIMessage to be sent to the LASER system.
 
Returns:  Nothing
 
Raises:  Nothing

Methods inherited from Acsalarmpy.AlarmSystemInterface.AlarmSystemInterface:
push(self, state)
Push fault states to the LASER server.
 
Parameters: state is a single fault state or a list of fault states.
pushActiveList(self, activeFaults)
Pushes a list of active fault states to the LASER server.
 
Parameters: activeFaults is the list of fault states.

Data descriptors inherited from Acsalarmpy.AlarmSystemInterface.AlarmSystemInterface:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
gethostname(...)
gethostname() -> string
 
Return the current host name.